import React from 'react';
import { IdSelect } from '@src/components/id-select';
import { useEpics } from '@src/utils/epic';

export const EpicSelect = (props: React.ComponentProps<typeof IdSelect>) => {
  const { data: epics } = useEpics();
  return <IdSelect options={epics || []} {...props} />;
};
